var should = require('should');
var exitHandler = require('../../../app/servers/boss/handler/exitHandler');
var config = require('../../config');

suite('测试exitHandler', function () {
    suite('exit', function () {
        test('离开副本', function (done) {
            var msg = {
                record_id: 1000
            };
            var session = {};
            session.uid = config.role_id;

            var exit_Handler = new exitHandler();
            exit_Handler.exit(msg, session, function (err, res) {
                done();
            });
        });
    });
});
